Clover coverage report - Flock Flock - 0.7-dev
Coverage timestamp: Thu Jan 30 2003 01:35:37 EST
file stats: LOC: 22   Methods: 2
NCLOC: 15   Classes: 1
This license of Clover is provided to support the development of Flock only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover.
 
 Source file Conditionals Statements Methods TOTAL
PathTreeUtil.java 0% 0% 0% 0%
 1   
 package net.sf.flock.tree;
 2   
 
 3   
 import java.util.Iterator;
 4   
 
 5   
 import net.sf.flock.SubscriptionInfoI;
 6   
 
 7   
 public class PathTreeUtil {
 8   
 
 9  0
     private PathTreeUtil() {
 10   
     }
 11   
 
 12  0
     public static ITreeNode getHierarchy(Iterator subscriptionInfos) {
 13  0
         BaseTreeNode root = new BaseTreeNode("");
 14  0
         while (subscriptionInfos.hasNext()) {
 15  0
             SubscriptionInfoI sub = (SubscriptionInfoI) subscriptionInfos.next();
 16  0
             root.getChild( sub.getMetaData().get("path"), true);
 17   
         }
 18  0
         return root;
 19   
     }
 20   
 
 21   
 }
 22